<template>
	<pop-manager :show="show" :type="type" :show-overlay="overlay" @clickmask="handleMaskClick"><slot></slot></pop-manager>
</template>

<script>
import popManager from './pop-manager.vue';
export default {
	name: 'pop-index',
	components: {
		popManager
	},
	
	props: {
		show: {
			type: Boolean,
			default: false
		},

		overlay: {
			type: Boolean,
			default: true
		},

		closeOnClickOverlay: {
			type: Boolean,
			default: true
		},

		// 弹出方向
		type: {
			type: String,
			default: 'center'
		}
	},
	methods: {
		
			moveHandle(){
				
			},
		handleMaskClick() {
          this.$emit('close',{})
		}
	}
};
</script>

<style></style>
